projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c9a1f8
)
Revert "wayland: Make popups work more than once"
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 19 May 2019 16:50:49 +0000
(16:50 +0000)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 19 May 2019 16:50:49 +0000
(16:50 +0000)
This reverts commit
e74c655016982272b72dff318b11602b0d5b099a
.
gdk/wayland/gdksurface-wayland.c
patch
|
blob
|
history
diff --git
a/gdk/wayland/gdksurface-wayland.c
b/gdk/wayland/gdksurface-wayland.c
index 72622e01708095880ae3a9469db5864733328733..c192c3b09d4c1a0b1862fbf4e9efeb7989821253 100644
(file)
--- a/
gdk/wayland/gdksurface-wayland.c
+++ b/
gdk/wayland/gdksurface-wayland.c
@@
-2514,16
+2514,12
@@
gdk_wayland_surface_map (GdkSurface *surface)
impl->mapped = TRUE;
}
-static void gdk_wayland_surface_destroy_surface (GdkSurface *surface);
-
static void
gdk_wayland_surface_show (GdkSurface *surface,
gboolean already_mapped)
{
GdkSurfaceImplWayland *impl = GDK_SURFACE_IMPL_WAYLAND (surface->impl);
- gdk_wayland_surface_destroy_surface (surface);
-
if (!impl->display_server.wl_surface)
gdk_wayland_surface_create_surface (surface);